#include "Player.h"
#include "Controller.h"
#include "Audio/SoundOgg.h"

namespace Game { namespace Player
{

Player::Player(const char *soundFileName)
    :   m_SoundResource(new WafDemo::Audio::SoundOgg(soundFileName))
    ,   m_Controller(new Controller())
{
}

Player::~Player()
{
    delete m_Controller;
}

void Player::Update()
{
    m_Controller->Sample();
}

}}

